{{include file="header_inc.html"}}

<body>
	<div class="subnav">
		<div class="content-menu ib-a blue line-x">

			<a href='/setting/rolemanage/'><em>角色管理</em></a><span>|</span><a
				href='javascript:;' class="on"><em>编辑角色</em></a>
		</div>
	</div>
	<script type="text/javascript">
	<!--
		$(function() {
			$.formValidator.initConfig({
				autotip : true,
				formid : "myform",
				onerror : function(msg) {
				}
			});
			$("#rolename").formValidator({
				onshow : "请输入角色名称",
				onfocus : "角色名称不能为空。"
			}).inputValidator({
				min : 1,
				max : 999,
				onerror : "角色名称不能为空。"
			});
		})
	//-->
	</script>
	<div class="pad_10">
		<div class="common-form">
			<form name="myform" action="/setting/rolemanage/edit/" method="post"
				id="myform">
				<table width="100%" class="table_form contentWrap">
					<tr>
						<td>角色名称</td>

						<td><input type="text" name="info[rolename]"
							value="{{$Role_info.rolename}}" class="input-text" id="rolename"></input></td>
					</tr>
					<tr>
						<td>角色描述</td>
						<td><textarea name="info[description]" rows="2" cols="20"
								id="description" class="inputtext"
								style="height: 100px; width: 500px;">{{$Role_info.description}}</textarea></td>
					</tr>
					<tr>
						<td>是否启用</td>
						<td><input type="radio" name="info[disabled]" value="0"
							{{if $Role_info.disabled==0}}checked{{/if}}> 启用 <input
							type="radio" name="info[disabled]" value="1"
							{{if $Role_info.disabled==1}}checked{{/if}}>禁止</td>
					</tr>
					<tr>

						<td>排序</td>
						<td><input type="text" name="info[listorder]" size="3"
							value="{{$Role_info.listorder}}" class="input-text"></td>
					</tr>
				</table>

				<div class="bk15"></div>
				<input name="roleid" type="hidden" value="{{$Role_info.roleid}}">
				<input name="dosubmit" type="submit" value="提交" class="button">
			</form>
		</div>
	</div>
</body>
{{include file="footer.html"}}
